package chap3.Task;
import java.util.Scanner;
public class Task13 {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        System.out.print("请输入会员积分：");
        int a = input.nextInt();
        if (a > 8000) {
            System.out.println("该会员享受的折扣是：0.6");
        } else if ( a >= 4000) {
            System.out.println("该会员享受的折扣是：0.7");
        } else if ( a >= 2000) {
            System.out.println("该会员享受的折扣是：0.8");
        } else{
            System.out.println("该会员享受的折扣是：0.9");
        }
    }
}

